package chuangyi.com.org.ViewModel;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Keep;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by zxh on 16/12/24.
 */
@Entity
public class NetFileCahe {
    @Id(autoincrement = true)
    private Long id;
    @Property(nameInDb = "url")
    private String url;
    @Property(nameInDb = "path")
    private String path;

    @Keep
    @Generated(hash = 1505034230)
    public NetFileCahe(Long id, String url, String path) {
        this.id = id;
        this.url = url;
        this.path = path;
    }

    @Generated(hash = 1265008292)
    public NetFileCahe() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUrl() {
        return this.url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getPath() {
        return this.path;
    }

    public void setPath(String path) {
        this.path = path;
    }
}
